#pragma once
#include <string>
#include <map>
using namespace std;


class CPositionInfo
{
public:
	CPositionInfo();
	~CPositionInfo();

	wstring Key;
	wstring Account;
	wstring Symbol;
	long    Qty;
	long    PrevQty;
	long    TodayQty;
	double  AvgPrice;
	double  EvalPL;
	long    ShortOrderQty;
	long    LongOrderQty;
	double  STDVal;
};

typedef map<wstring, CPositionInfo*> mapPosition;
typedef pair<wstring, CPositionInfo*> pairPosition;
typedef map< wstring, CPositionInfo* >::iterator PositionPos;

